<?php global $ubi; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Ubiquitous</title>
    <link href="include/css/style.css" rel="stylesheet" type="text/css" />
    <link href="include/css/form.css" rel="stylesheet" type="text/css" />    
    <link rel="stylesheet" href="include/css/jquery-ui.css" type="text/css" />
        
	<script language="javascript" src="include/script/jquery-1.4.4.min.js" type="text/javascript"></script>
	<script language="javascript" src="include/script/jquery.corner.js" type="text/javascript"></script>    
	<script type="text/javascript" src="include/script/jquery-ui-1.8.14.custom.min.js"></script>
	    
    <!--[if lte IE 6]>
        <script type="text/javascript" src="include/css/supersleight-min.js"></script>
        <link href="css/ie6.css" rel="stylesheet" type="text/css" />
    <![endif]-->

	<script language="javascript" type="text/javascript">
		$(document).ready(function(){
			$('.organicContent2').corner('5px');					
			$('.organicContent2 h2').corner('5px');					
			$('.organicContent4').corner('5px');					
			$('.organicContent4 h2').corner('5px');								
		});		
    </script>
</head>

<body>
<div id="main"><!-- Main starts here -->	
<?php
	require_once $ubi['SERVER']['SERVER_ROOT'] . '/template/header.php';
?>
<div class="clear"></div>
<div class="contentTop"></div>
<div class="content">	
    <div class="organic">
		<div style="margin-left:60px; margin-top:10px; line-height:1.2em">
			<h1>Đăng Nhập</h1>
			<form action="index.php?login" method="post">
				<?php
				if (isset($err)) {
				?>
					<span id="err" class="red"><?php echo $err;?></span><br />
				<?php 
				} 
				?>
				<fieldset class="signInFrm">
				<ol>
	            	<li>
	                	<label>Tên đăng nhập</label>
	                    <input type="text" name="txtUserName" />
	                </li>
	                <li>
	                	<label>Mật khẩu</label>
	                    <input type="password" name="txtPassword" />
	                </li>
	                <li>
	                	<label>&nbsp;</label>
	                    <input type="checkbox" />Ghi nhớ đăng nhập
	                </li>
	                <li>
	                	<label>&nbsp;</label>
	                    <input type="submit" value="Đăng Nhập" />	        
	                </li>
	                <li>
	                	<label>&nbsp;</label>
	                	<a href="index.php?forgot&type=password">Quên mật khẩu</a>
	                	<a href="index.php?register">Đăng ký</a>
	                </li>
	            </ol>
	            </fieldset>
	        </form>		
        </div>
    </div>    
</div>
<div class="contentBottom"></div>

<?php
	require_once $ubi['SERVER']['SERVER_ROOT'] . '/template/footer.php'; 
?>

</div><!-- Main ends here -->
</body>
</html>
